<script>
	
let url = window.location.pathname;
let res = quickSort(url);


function quickSort(str) {
	let len = str.length;

	if(len < 1) return str;
	
	let mid_point = Math.floor(len/2),
		middle = str[mid_point];

	let left_arr = [],
		right_arr = [];
	for(let i = 0; i < len; i++) {
		if(i === mid_point) continue;
		if(str[i] <= middle) {
			left_arr.push(str[i]);
		} else {
			right_arr.push(str[i]);
		}
	}
	let left = quickSort(left_arr),
		right = quickSort(right_arr);
	
	return [...left, middle, ...right].join('');
}

</script>